JBoss Community Archive (Read Only)

RHQ 4.10

Needed - DynaGroup push

In AS 7 a managed server always belongs to one server-group.

Servers can not be moved between server-groups, but if you want to e.g.
move ServerA from sg1 to sg2, you have to shut it down, delete it on sg1,
re-create on sg2 and start it again.

While many operations to an AS will happen on server group level,
monitoring of all servers in a group will be an operation on (RHQ) group
level.

Therefore it must be possible to automatically group AS instances according to their
server-groups.

One way of doing this would be to pre-populate the server with respective DynaGroup
expressions. Another way would be to define them in the plugin descriptor and load
them upon plugin deployment. This allows for upgraded group definitions upon plugin
updates without the need to modify the server.

<dyna-groups>
   <dyna-group>
      group by resource.property[group]
      resource.plugin=as7   (*)
      resource.type=As7managed
   </dyna-group>
</dyna-group>

*) The plugin expression could actually be a placeholder (%p) that is automatically filled in by the deployer to make developers life easier.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-11 13:45:37 UTC, last content change 2011-04-04 08:24:40 UTC.